#ifndef MYQTHREAD_H
#define MYQTHREAD_H

#include <QThread>
#include <QDebug>
class MyQthread : public QThread
{
    Q_OBJECT
public:
    explicit MyQthread(QObject *parent = nullptr);
    ~MyQthread()
    {
        qDebug()<<"MyQthread";
    }

protected:
    void run() override;

signals:
    void threadSignal(int i);
public slots:
};

#endif // MYQTHREAD_H
